package pers.wchen.mybatis.generate.model;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @作者： wchen
 * @描述： 数据相关
 * @创建时间： 2018/2/9 17:06
 * @版本：Copyright 2018, Inc. All Rights Reserved.
 * @修改信息：
 */
public class DataComposeVO {
    private List<DatabaseTablePropertyVO> databaseTablePropertyVOS;//表字段
    private String tableComponent;//表注释
    private Map<String, FileInfoVO> fileInfoMap;//文件信息
    private String[] buildFiles;//要创建的文件列表

    public List<DatabaseTablePropertyVO> getDatabaseTablePropertyVOS() {
        return databaseTablePropertyVOS;
    }

    public void setDatabaseTablePropertyVOS(List<DatabaseTablePropertyVO> databaseTablePropertyVOS) {
        this.databaseTablePropertyVOS = databaseTablePropertyVOS;
    }

    public String getTableComponent() {
        return tableComponent;
    }

    public void setTableComponent(String tableComponent) {
        this.tableComponent = tableComponent;
    }

    public Map<String, FileInfoVO> getFileInfoMap() {
        return fileInfoMap;
    }

    public void setFileInfoMap(Map<String, FileInfoVO> fileInfoMap) {
        this.fileInfoMap = fileInfoMap;
    }

    public String[] getBuildFiles() {
        return buildFiles;
    }

    public void setBuildFiles(String[] buildFiles) {
        this.buildFiles = buildFiles;
    }

    @Override
    public String toString() {
        return "DataComposeVO{" +
                "databaseTablePropertyVOS=" + databaseTablePropertyVOS +
                ", tableComponent='" + tableComponent + '\'' +
                ", fileInfoMap=" + fileInfoMap +
                ", buildFiles=" + Arrays.toString(buildFiles) +
                '}';
    }
}
